home *** CD-ROM | disk | FTP | other *** search
- Document Type: WSE
- item: Global
- Version=6.0
- Title=Instr
- Flags=00000100
- Split=1420
- Languages=65 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
- Copy Default=1
- Japanese Font Name=MS Gothic
- Japanese Font Size=10
- Start Gradient=0 0 255
- End Gradient=0 0 0
- Windows Flags=00000100000000000010110000011000
- Message Font=MS Sans Serif
- Font Size=8
- Disk Filename=SETUP
- Patch Flags=0000000000000001
- Patch Threshold=85
- Patch Memory=4000
- FTP Cluster Size=20
- end
- item: Remark
- Text=This Wise 6.0 sample script shows how the Expression parser command "Instr" works.
- end
- item: Remark
- end
- item: Prompt for Text
- Window Title=Expression Parser - Instr test.
- Prompt Title=Please enter an Alphanumeric value.
- Variable=ALPHA1
- end
- item: Prompt for Text
- Window Title=Expression Parser - Instr test.
- Prompt Title=Enter a string that is contained in "%ALPHA1%".
- Variable=ALPHA2
- end
- item: Remark
- end
- item: Remark
- Text= This piece of code is where the Instr command is exectuted, where the first variable is the
- end
- item: Remark
- Text= string to search for in the second variable.
- end
- item: If/While Statement
- Value=instr(ALPHA1, ALPHA2)
- Flags=00001101
- end
- item: Display Message
- Title=Expression Parser - Instr Test 1.
- Text="%ALPHA2%" is contained in "%ALPHA1%".
- end
- item: Else Statement
- end
- item: Display Message
- Title=Expression Parser - Instr Test 2
- Text="%ALPHA2%" is not contained in "%ALPHA1%".
- end
- item: End Block
- end
-